package eiisan.decorator;

/**
 * @description: Decorator 装饰角色
 * @author: eii
 * @time: 2020/7/12 4:45 下午
 */
public class Decorator implements Component {

    private Component component;

    public Decorator(Component component){
        this.component = component;
    }

    public void doSomething() {
        component.doSomething();
    }

}
